
#ifndef REMOTECONTROL_H
#define REMOTECONTROL_H

#include<sys/socket.h>
#include<string.h>//memset
#include<errno.h>
#include<netinet/in.h>
#include<arpa/inet.h>

#include<sys/types.h>
#include<unistd.h>

#include<stdio.h>
#include<stdlib.h>

#include "process_main.h"
#include "sockio.h"
#include <pthread.h>


#define COMMAND_LEN 80

//pthreads that do the work
pthread_t proc_th;

void do_loop(int );
void concel_thread();

#endif
